﻿using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Runtime.Serialization;

namespace BarManager.Core.Entity
{
    [DataContract]
    public class Cliente : Persona
    {
        [StringLength(500)]
        [Display(Name = "Observaciones")]
        [DataType(DataType.MultilineText)]
        [DataMember]
        public string Observaciones { get; set; }

        [DataMember]
        public virtual ICollection<Domicilio> DomicilioList { get; set; }

        [DataMember]
        public virtual ICollection<Envio> EnvioList { get; set; }

        public Cliente()
        {
            this.DomicilioList = new List<Domicilio>();
        }
    }
}
